diff options
| author | Adam Soltys <[email protected]> | 2022-11-22 12:09:44 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-11-22 12:09:44 -0800 |
| commit | aaa66ea658f7c5b8fac8ce4b3c02bd94bafdff8e (patch) | |
| tree | e827d58cd12821b6e9d0827c4839da73df19f8e5 /src/routes/(app)/[username]/request/+page.svelte | |
| parent | 5f020f8d77e8fac1b95e392d0d4a147354b25d07 (diff) | |
| download | coinos-ui-aaa66ea658f7c5b8fac8ce4b3c02bd94bafdff8e.tar.gz coinos-ui-aaa66ea658f7c5b8fac8ce4b3c02bd94bafdff8e.zip | |
clean up request flow, update translations and deps
Diffstat (limited to 'src/routes/(app)/[username]/request/+page.svelte')
| -rw-r--r-- | src/routes/(app)/[username]/request/+page.svelte | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/routes/(app)/[username]/request/+page.svelte b/src/routes/(app)/[username]/request/+page.svelte index 1e62ea00..bbbb514c 100644 --- a/src/routes/(app)/[username]/request/+page.svelte +++ b/src/routes/(app)/[username]/request/+page.svelte @@ -1,4 +1,5 @@ <script> + import { t } from '$lib/translations'; import { enhance } from '$app/forms'; import { Icon } from '$comp'; import { back } from '$lib/utils'; @@ -14,7 +15,7 @@ </button> <div class="container max-w-lg px-4 mx-auto mt-10 space-y-5"> - <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">Request an invoice</h1> + <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">{$t("transactions.requestAnInvoice")}</h1> <form action="?/create" method="POST" use:enhance class="space-y-5"> <input type="hidden" name="requester_id" value={user.id} /> @@ -22,7 +23,7 @@ <textarea name="memo" - placeholder="Use this field to describe your order" + placeholder={$t("transactions.describeOrder")} class="w-full p-4 border rounded-xl h-48" /> @@ -31,7 +32,7 @@ type="submit" class="bg-black text-white border rounded-full px-6 py-2 font-bold mx-auto" > - Submit + {$t("transactions.submit")} </button> </div> </form> |
